package com.jackiechancinema.ssm.service.Impl;

import com.jackiechancinema.ssm.dao.MovTypeDao;
import com.jackiechancinema.ssm.entity.MovType;
import com.jackiechancinema.ssm.service.Inte.MovTypeServlet;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MovTypeServletImpl implements MovTypeServlet {

    @Autowired
    private MovTypeDao movTypeDao;



    @Override
    public MovType findById(int id) {
        MovType byId = movTypeDao.findById(id);
        System.out.println(byId);
        return byId;
    }

}
